package com.dsh.gulimall.ware.feign;

import com.dsh.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gulimall-gateway")
public interface ProductFeignService {


    /**
     *
     *  /product/skuinfo/info/{skuId}
     *  1、所有请求过网关
     *  /api/product/skuinfo/info/{skuId}
     *
     *
     */

    @RequestMapping("/product/skuinfo/info/{skuId}")
    R info(@PathVariable("skuId") Long skuId);
}
